<template>
  <el-table :data="tableData">
    <el-table-column prop="lendType" :label="currentType" width="100"></el-table-column>
    <el-table-column label="颜色" prop="lendType">
      <template #default="scope">
        <b class="lend_color" :style="{ background: scope.row.color }"></b>
      </template>
    </el-table-column>
  </el-table>
</template>

<script setup>
import { ref } from "vue";
// 数据
import { tableDataAnalysis } from "./data";

let currentType = ref("分析类型");
let tableData = ref(tableDataAnalysis);
</script>
